home *** CD-ROM | disk | FTP | other *** search
- Path: sloth.swcp.com!usenet
- From: dvines@sparton.com (Dudley Vines)
- Newsgroups: comp.lang.c++
- Subject: word vs. byte alignment option
- Date: 9 Apr 1996 13:52:43 GMT
- Organization: Sparton Technology, Inc
- Message-ID: <4kdq3b$lhn@sloth.swcp.com>
- NNTP-Posting-Host: ppp51.swcp.com
- Mime-Version: 1.0
- X-Newsreader: WinVN 0.93.10
-
- Anybody ever have trouble with Borland C++ compiler word vs. byte
- alignment option? When I attempt to load a word aligned array into a byte
- aligned array, the data in the byte aligned array is off by one byte.
-
- The arrays come from separate modules with different alignement options
- set.
-
- I thought the alignment option only affected speed or memory usage...why
- doesn't the compiler figure out how to handle the data right?
-
- e-mail help, please...
-
-